class Employee:
    __count = 0

    __name__ = 'Employee'

    def __init__(self):
        Employee.__count += 1

    def __repr__(self = None):
        return "count: {}".format(Employee.__count)

    def count(self = None):
        return Employee.__count

    def sayHello(self):
        print("Hello, I am {}. ".format(self.__name__))

Employee()
Employee()
Employee()
Employee()

print("实例化了 {} 个 Employee 对象。".format(Employee.count()))
